package com.example.simple_cheat;

import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;

import android.app.Notification;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import org.litepal.tablemanager.Connector;

import java.util.Timer;
import java.util.TimerTask;

public class startactivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_startactivity);
        ActionBar acbar = getSupportActionBar();
        if(acbar!=null){
            acbar.hide();
        }
        Connector.getDatabase();
        Timer timer=new Timer();
        TimerTask timerTask=new TimerTask() {
        @Override
        public void run() {
            Intent intent1=new Intent(startactivity.this,sign_in.class);
            startActivity(intent1);
            startactivity.this.finish();
            }
        };
        timer.schedule(timerTask,1000*2);
    }
}